import request from '@/utils/request'
const serviceName = 'CheckOn'
//  列表
export function querySetups(data) {
  return request({
    url: serviceName + '/Setup/QuerySetups',
    method: 'post',
    data
  })
}
//  详情
export function getSetup(data) {
  return request({
    url: serviceName + '/Setup/GetSetup',
    method: 'post',
    data
  })
}

export function saveSetup(data) {
  return request({
    url: serviceName + '/Setup/SaveSetup',
    method: 'post',
    data
  })
}

export function deleteSetups(data) {
  return request({
    url: serviceName + '/Setup/DeleteSetups',
    method: 'post',
    data
  })
}

export default {
  querySetups,
  getSetup,
  saveSetup,
  deleteSetups
}
